package cn.edu.swu.wn;

public class Main {
    public static void main(String[] args){
        Student student1 = new Student("A001", 19, "James", "M");
        Student student2 = new Student("A002", 18, "QiQi", "F");

        Course course1 = new Course("C001", "Java", "Mr.Wang");
        Course course2 = new Course("C002", "Data Structure", "Mr.Zhang");

        student2.setAge(20);
        course1.setTeacher("Peter Mark");

        System.out.println("=====学生信息=====");
        student1.showInfo();
        student2.showInfo();

        System.out.println("=====课程信息=====");
        course1.showInfo();
        course2.showInfo();
    }

}
